package com.applet.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @projectName: studio-applet
 * @package: com.applet.pojo.dto
 * @className: AppCreationDTO
 * @author: Shen Haitao
 * @description: TODO
 * @date: 2024/12/19 16:51
 * @version: 1.0
 */
@Data
@Schema(title = "上传作品DTO")
public class AppCreationDTO implements Serializable {

    @NotNull(message = "保存的活动作品地址不能为空")
    private String creationUrl;
    @NotBlank(message = "保存活动作品不能为空")
    private String description;
}
